var sockjs = null;
function SockJsCreator(url) {
	    //window.sockjs = window.sockjs || {};
	    /*if(!window.sockjs[url]) {
	        window.sockjs[url] = new SockJS(url);
	   }
	   return window.sockjs[url];*/
	    if(!sockjs)
	    {
	    	sockjs = new SockJS(url);
	    }
	    else
	    {
	    	sockjs.close();
	    	delete sockjs;
	    	sockjs = new SockJS(url);
	    }
	    return sockjs;
	}

